package com.risk.ctrl.enums;

import com.risk.ctrl.enums.service.EnumsBaseService;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ThirdUrlEnum implements EnumsBaseService {
    AUTH_URL("/v1/sp-report", "征信报告授权"),
    REPORT_QUERY_URL("/v1/find/sp-report", "征信报告查询"),
    REPORT_QUERY_H5_URL("/v2/find/sp-report", "征信报告查询(H5)"),
    ;

    private String code;

    private String desc;

    public String generateUrl(String baseUrl) {
        return baseUrl + code;
    }

}
